package com.cnunicom.modules.tra.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 住房记录表
 *
 * @author dzygod
 * @email dingziyuan0@gmail.com
 * @date 2020-01-29 18:29:53
 */
@Data
@TableName("tra_record")
public class RecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	@TableId
	private Integer id;

	@ApiModelProperty(value = "房间类型id")
	private Integer roomTypeId;

	@ApiModelProperty(value = "房类名称")
	private String roomTypeName;

	@ApiModelProperty(value = "会员id")
	private Integer mebId;

	@ApiModelProperty(value = "会员姓名")
	private String mebName;

	@ApiModelProperty(value = "上级id")
	private Long superiorId;

	@ApiModelProperty(value = "上级名称")
	private String superiorName;

	@ApiModelProperty(value = "价格")
	private BigDecimal price;

	@ApiModelProperty(value = "逻辑删除")
	private Integer isDel;

	@ApiModelProperty(value = "统计日期")
	private String date;

	@ApiModelProperty("上级类型  0：单位下属会员   1：职工下属会员")
	private Boolean superiorType;

	@ApiModelProperty("当日总销售额")
	@TableField(exist = false)
	private BigDecimal dailySales;
}
